/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.farent.solutions.plugins.stripes.hyperstripes.renders.dojo.tags;

import com.farent.solutions.plugins.stripes.hyperstripes.core.ComponentModel;
import com.farent.solutions.plugins.stripes.hyperstripes.core.tags.FormComponentModel;
import com.farent.solutions.plugins.stripes.hyperstripes.renders.dojo.DojoModelProvider;
import java.util.Collection;

/**
 *
 * @author user
 */
@DojoModelProvider("DataTable")
public class DataTableComponentModel  extends FormComponentModel implements ComponentModel{

    private Collection items;

    private String var;

    private boolean defaultActions;

    @Override
    public String getName() {
        return "DataTable";
    }

    public Collection getItems() {
        return items;
    }

    public void setItems(Collection items) {
        this.items = items;
    }

    public boolean isDefaultActions() {
        return defaultActions;
    }

    public void setDefaultActions(boolean defaultActions) {
        this.defaultActions = defaultActions;
    }

    public String getVar() {
        return var;
    }

    public void setVar(String var) {
        this.var = var;
    }

}
